<div id="wrapper-content1" align="center">   
<?php echo form_open('SB_admin/add_admin') ?>
    <?php
    echo $erreur;
    echo validation_errors();
    ?>
    <div id="viewactu" align="center">
        <table id="formactu" cellpadding="10px" cellspacing="0">
            <tr> <td>Nom</td> <td><input type="text" name="nom" value="<?php echo set_value('nom'); ?>"/> <?php echo form_error('nom'); ?></td> </tr>
            <tr> <td>Prenom</td> <td><input type="text" name="prenom" value="<?php echo set_value('prenom'); ?>"/><?php echo form_error('prenom'); ?></td> </tr>
            <tr> <td>Identifiant</td> <td><input type="text" name="ident" value="<?php echo set_value('ident'); ?>"/><?php echo form_error('ident'); ?></td> </tr>
            <tr> <td>Mot de passe</td> <td><input type="password" name="pass"/><?php echo form_error('pass'); ?></td> </tr>
            <tr> <td>Confirmation Mot de passe</td> <td><input type="password" name="confirm_pass"/><?php echo form_error('confirm_pass'); ?></td> </tr>
            <tr> <td></td><td align="right"><input style="border:0; width: 160px;height: 30px;background: url(<?php echo base_url();?>assets/admin/images/ajouter.png);" type="submit" name="submit" value=" " alt="submit"/></td> </tr>
        </table>
    </div>
<?php echo form_close() ?>
</div>

